list1 = [0, 1, 3, 2, 2, 4, 5, 8, 7, 6, 9, 9, 10]
list2 = sorted(list1, key=lambda x: x % 2 )

print(list2)
